# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=reptyr
pkgver=0.9.0
pkgrel=0
pkgdesc="Reparent a running program to a new terminal"
url="https://github.com/nelhage/reptyr"
arch="x86 x86_64 armhf armv7 riscv64"
license="MIT"
makedepends="linux-headers bash-completion"
subpackages="$pkgname-doc $pkgname-bash-completion"
source="https://github.com/nelhage/reptyr/archive/reptyr-$pkgver.tar.gz"
builddir="$srcdir/"reptyr-reptyr-$pkgver

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
a59670449cb597657dbb244228fd4246142190615ce1a6369f11b8c99cb12d8e2bedb4efd7cdc301a4f7c18d29e8799eea8f14d062a8ad7b7c025034cba66ac7  reptyr-0.9.0.tar.gz
"
